Skip to content

Conversation

@ananyaa06
Copy link
Collaborator

@ananyaa06 ananyaa06 commented Oct 27, 2025

The old version of the API used names to identify Sites, which isn't a particularly stable form of identification. So I added an additional field called "identity" and modified the endpoints to use that as the primary identifier of Sites instead of the "name" parameter. The user passes in all fields except for the identity, which is a UUID generated randomly by the backend.

@johnnzhou
Copy link
Collaborator

We should also update the api for all-sites

@ananyaa06
Copy link
Collaborator Author

We should also update the api for all-sites

How come?

description: Optional color identifier for the site in hex code
example: "#FF5733"
boundary:
boundary_array:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Boundaries

@johnnzhou
Copy link
Collaborator

We should also update the api for all-sites

How come?

Oh, sorry I think i must misread your change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants